package com.rc.saas.mini.client;

import com.rc.saas.mini.common.base.TResponse;
import com.rc.saas.mini.vo.cec.StdRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author wangzhengwei
 * @create 2021/4/23
 */
@Component
public class PrinterClientRouter {
    @Autowired
    private PrinterClient1 printerClient1;

    /**
     * 重置打印小票次数
     */
    public TResponse query_reset_print(StdRequest tRequest) {
        return printerClient1.query_reset_print(tRequest);
    }

    /**
     * 发送打印指令
     */
    public TResponse query_start_charge(StdRequest tRequest) {
        return printerClient1.query_start_print(tRequest);
    }
}
